// import QtQuick 1.0 // to target S60 5th Edition or Maemo 5
import QtQuick 1.1

Rectangle {
    border.width: 1;
    border.color: "black"
    width: 120
    height: 70

    Text {
        anchors.verticalCenter: parent.verticalCenter
        anchors.horizontalCenter: parent.horizontalCenter

        text: qsTr("Backup System")
    }
    MouseArea {
        anchors.fill: parent
        onPressed: {
            parent.color = "yellow"
        }
        onClicked: {
            workTool.execBashFile("bash Backup.sh");
            console.log("Clicked to backup");
            timer1.start();
        }
    }
}
